﻿using UnityEngine;

namespace Core.Combat
{
    public class AttackObject : MonoBehaviour
    {
        public HitProperties hitProperties;
    }

    /// <summary>
    /// 击中所需属性
    /// </summary>
    [System.Serializable]
    public class HitProperties
    {
        public LayerMask hitLayer= 1 << 0;
        public LayerMask blockLayer = 1 << 0;
        public string[] hitTags = new string[] { "Enemy" };
    }
}